package com.tring.ysyn.controller;


import com.tring.ysyn.entity.TbYthReport;
import com.tring.ysyn.model.dto.user.UserDTO;
import com.tring.ysyn.service.ISysUserService;
import com.tring.ysyn.service.ITbYthReportService;
import com.tring.ysyn.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author tring
 * @since 2023-03-25
 */
@RestController
@RequestMapping("//tb-yth-report")
public class TbYthReportController {

    @Autowired
    private ITbYthReportService ythReportService;

    @GetMapping(value = "/dataIntegration")
    public Result dataIntegration() {
        ythReportService.dataIntegration();
        return Result.success("成功");
    }
}

